<extend name="Public:index" />
<block name="left">
	<ul >
		<li><a href="{:U('admin/Info/official')}">官方授权</a></li>
		<li><a href="{:U('admin/Info/zoon')}">大区授权</a></li>
		<li><a href="{:U('admin/Info/agent')}">总代理授权</a></li>
		<li><a href="{:U('admin/Info/normal')}">普通代理授权</a></li>
	</ul>
</block>
<block name="right">
	<form method="post" action="{:U('Admin/Info/official')}" id="form">
		<div class="form-group">
			<label for="exampleInputEmail1">微信号</label>
			<input type="text" name="wechat" placeholder="请输入微信号" class="wechat form-control"  value="{$data.user_info.wechat}"/>
		</div>
		<div class="form-group">
			<label for="exampleInputPassword1">手机号</label>
			<input type="text" name="phone" placeholder="请输入手机号" class="phone form-control"  value="{$data.user_info.phone}"/>
		</div>
		<div class="form-group">
			<label for="exampleInputPassword1">姓&nbsp;名</label>
			<input type="text" name="name" placeholder="请输入姓名" class="name form-control" value="{$data.user_info.name}" />
		</div>
		<div class="form-group">
			<label for="exampleInputPassword1">性&nbsp;别</label>
            
		<input type="radio" name="sex" value="男"  <if condition="$data['user_info']['sex'] neq '女' "> checked="checked" </if> />男  <input type="radio" name="sex" value="女"  <if condition="$data['user_info']['sex'] eq '女' "> checked="checked" </if> />女
		</div>
		<div class="form-group">
			<label for="exampleInputPassword1">收货地址</label>
			<input type="text" name="address" placeholder="请输入送货地址" class="address form-control" value="{$data.user_info.address}" />
		</div>
        <input name="user_id" type="hidden" value="{$data.user_info.id}" />
		<input type="submit" value="授权" onclick="return official()" class="btn btn-default">
	</form>
</block>